package com.prs.crm.dao.assets.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.assets.AssetsScrapDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.assets.AssetsScrap;

public class AssetsScrapDaoImpl extends BaseDaoImpl<AssetsScrap> implements AssetsScrapDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<AssetsScrap> getAllAssetsScraps() {
		Criteria criteria=this.getSession().createCriteria(AssetsScrap.class);
		return criteria.list();
	}

}
